package com.yz.yrpc.annotation;

import okhttp3.OkHttpClient;
import okhttp3.internal.http.HttpMethod;
import org.springframework.beans.factory.annotation.Lookup;
import org.springframework.context.annotation.DependsOn;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author shanchong
 * @date 2019-06-30
 **/
@Documented
@Target(value = {ElementType.METHOD})
@Retention(value = RetentionPolicy.RUNTIME)
@Import(Lookup.class)
public @interface Yrpc {

    String url() default "";

    String method() default "GET";

}
